<extend name='Public:layout' />
<block name='main-content'>	
<div class="daohang">
	<ul>
		<li><button type="button" class="am-btn am-btn-default am-radius am-btn-xs"> 首页 </li>
		<li><button type="button" class="am-btn am-btn-default am-radius am-btn-xs">视频分类<a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close="">×</a></button></li>
	</ul>
</div>	

    <div class="admin-biaogelist">
      <div class="listbiaoti am-cf">
        <ul class="am-icon-flag on">
          视频分类管理
        </ul>
        <dl class="am-icon-home" style="float: right;">
          当前位置： 首页 > <a href="#">视频分类管理</a>
        </dl>
        <dl>
          <button type="button" class="am-btn am-btn-danger am-round am-btn-xs am-icon-plus" data-am-modal="{target: '#my-popup'}">添加分类</button>
        </dl>
        <!--data-am-modal="{target: '#my-popup'}" 弹出层 ID  弹出层 190行 开始  271行结束--> 
        
      </div>
      <form class="am-form am-g">
        <table width="100%" class="am-table am-table-bordered am-table-radius am-table-striped am-table-hover">
          <thead>
            <tr class="am-success">
              <th class="table-check"><input type="checkbox" /></th>
              <th class="table-id am-text-center">ID</th>
              <th class="table-title">分类名称</th>
              <th class="table-type">分类级别</th>
              <th class="table-date am-hide-sm-only">路径</th>
              <th width="163px" class="table-set">操作</th>
            </tr>
          </thead>
          <tbody>
          <foreach name="cates" item="cates">
            <tr> 
              <td><input type="checkbox" /></td>
              <td class="am-text-center">{$cates['id']}</td>
              <td><a href="#">{$cates['catename']}</a></td>
              <td>{$cates['abspath']}</td>
              <td class="am-hide-sm-only">{$cates['path']}</td>
              <td><div class="am-btn-toolbar">
                  <div class="am-btn-group am-btn-group-xs">
                  <a class="am-btn am-btn-default am-btn-xs am-text-success am-round am-icon-file" data-am-modal="{target: '#my-popups'}" title="添加子栏目"></a>
                    <button class="am-btn am-btn-default am-btn-xs am-text-secondary am-round" data-am-modal="{target: '#my-popups'}" title="修改"><span class="am-icon-pencil-square-o" ></span></button>
                    <button class="am-btn am-btn-default am-btn-xs am-text-danger am-round"  title="删除"><span class="am-icon-trash-o"></span></button>
                  </div>
                </div>
              </td>
            </tr>
            </foreach>          
          </tbody>
<!--           <tfoot>
          <td>
            {$page}
          </td>
          </tfoot> -->

        </table>
        <ul class="am-pagination am-fr">{$page}</ul>
      </form>
      
    </div>
</block>